package org.codert.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "goods-service", fallback = FeignGoodsServiceImpl.class)
public interface FeignGoodsService {

    @GetMapping("/goods")
    String listGoods(@RequestParam(value = "username") String username);


}
